<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>


    <style>
        /* #div1{width: 100px; height: 100px; background: red;}
        #div2{width: 100px; height: 100px; background: green; position: relative;left: 100px; top: 100px;}
        #div3{width: 100px; height: 100px; background: blue;} */

        /* span{width: 200px; height: 200px; background: red; position: absolute;} */

        /* div{background: red; position: absolute;} */

        /* #div1{width: 100px; height: 100px; background: red; position: absolute; right:0; bottom: 0;}
        #div2{width: 200px; height: 200px; background: green;} */

        /* body{height: 3000px;}
        #div1{width: 100px; height: 100px; background: red; position: fixed; right: 0;}
        #div2{width: 200px; height: 200px; background: green; position: absolute;} */

        /* body{height: 3000px;}
        div{background: red; position: sticky; top: 0;} */


        #divx{width: 100px; height: 100px; border: 1px solid black; position: absolute; z-index: 4;}
        #div1{width: 100px; height: 100px; background: red;position: absolute;z-index: 2;}
        #div2{width: 100px; height: 100px; background: green; position: absolute; top: 50px; left: 50px; z-index: 3;}

    </style>
    



</head>
<body>

    <!-- <div id="div1"></div>
    <div id="div2"></div>
    <div id="div3"></div> -->
    <!-- <div>萨法萨法十多分十多分说的</div> -->

<!-- <span>撒酒疯军事府舍得发送到舍得</span> -->

    <!-- <div id="div2">
        <div id="div1">
        </div>
    </div> -->

    <!-- <div id="div2">
        <div id="div1">
        </div>
    </div>  -->
    
    <!-- <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>

    <div>撒发送安生发送到</div>

    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p>
    <p>萨达所阿萨德啊</p> -->


    <div id="divx">
        <div id="div1"></div>
    </div>
    
    <div id="div2"></div>
    
</body>
</html>